<?php

use Biz\service\trade\Pay;

class AlipayQrcodeAction extends CallBackActionPlugin
{
    public function main()
    {
        $callBackData = $this->getRequest()->getPost();
        Pay::payCallBack($callBackData, Pay::_PAY_WAYS_ALIPAY_QRCODE);
        $this->setSuccessWithText('success');
    }
}